;(function($, window, document, undefined) {
	
	$.extend({
		//菜单切换
		navToggle:function(){
			console.log(11)
			$("body").on("click",".navbar-nav>li",function(){
				$(this).addClass("active").siblings("li").removeClass("active");
				var sUrl = $(this).find("a").attr("data-href");
				$("iframe").attr("src",sUrl);
			});
		},
		logout:function(){
			$(".exitBtn").click(function(){
				layer.confirm("确认退出？",function(){
					fnAjax.method_4_admin(
						url_join("admin/auth/logout"),
						"",
						"post",
						function(data){
							layer.msg("操作成功！",{time:1000},function(){
								window.location.href = "login_superadmin.html";
							});
						}
					);
				});
			});
		},
	});
})(jQuery, window, document);